/**
 * @project lauwsys
 */
package com.chimoz.lauwsys.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Christian Teguh
 * @created 28 Sep 2011 02.14.33
 */
public class BreadPrice implements Serializable {

	private Long id;
	private Date date;
	private BigDecimal productionPrice;
	private BigDecimal salePrice;
	private Integer ctime;
	private Integer mtime;
	
	private Bread bread;
	
	public BreadPrice() {}

	public BreadPrice(Date date, BigDecimal productionPrice,
			BigDecimal salePrice, Integer ctime, Integer mtime, Bread bread) {
		this.date = date;
		this.productionPrice = productionPrice;
		this.salePrice = salePrice;
		this.ctime = ctime;
		this.mtime = mtime;
		this.bread = bread;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public BigDecimal getProductionPrice() {
		return productionPrice;
	}

	public void setProductionPrice(BigDecimal productionPrice) {
		this.productionPrice = productionPrice;
	}

	public BigDecimal getSalePrice() {
		return salePrice;
	}

	public void setSalePrice(BigDecimal salePrice) {
		this.salePrice = salePrice;
	}

	public Integer getCtime() {
		return ctime;
	}

	public void setCtime(Integer ctime) {
		this.ctime = ctime;
	}

	public Integer getMtime() {
		return mtime;
	}

	public void setMtime(Integer mtime) {
		this.mtime = mtime;
	}

	public Bread getBread() {
		return bread;
	}

	public void setBread(Bread bread) {
		this.bread = bread;
	}

	
}
